
import LayoutMain from '@/layout';
import setting from '@/setting';
let routePre = setting.routePre;

const pre = 'project_';

export default {
  path: routePre + '/project',
  name: 'project',
  header: 'project',
  meta: {
    // 授权标识
    auth: ['admin-store-index'],
  },
  redirect: {
    name: `${pre}cultivate`,
  },
  component: LayoutMain,
  children: [
    
   {
     path: "/company/project/index",
     name: `${pre}project`,
     meta: {
       title: '项目管理',
       auth: ['admin-store-storeProuduct-index'],
       keepAlive: true,
     },
     component: () => import('@/pages/manage/project'),
   },
   {
     path: "/company/addProject/index",
     name: `addProject`,
     meta: {
       title: '新增项目',
       auth: ['admin-store-storeProuduct-index'],
       keepAlive: true,
     },
     component: () => import('@/pages/manage/addProject'),
   },
   {
     path: "/company/detailProject/index",
     name: `detailProject`,
     meta: {
       title: '项目详情',
       auth: ['admin-store-storeProuduct-index'],
       keepAlive: true,
     },
     component: () => import('@/pages/manage/detailProject'),
   },
    {
      path: "/company/projectType/index",
      name: `${pre}projecType`,
      meta: {
        title: '项目分类',
        auth: ['admin-store-storeProuduct-index'],
        keepAlive: true,
      },
      component: () => import('@/pages/project/projectType'),
    },
    
  ],
}